package net.tngou.iask.entity;

import java.util.List;

import net.tngou.iask.pojo.Answer;

/**
 * 表格属性
 * 主要是 td
 * @author tngou@tngou.net
 *
 */
public class Td {
	private int rowspan;//行
	private int colspan;//列
	private int align;//是否居住 1：居住 0 默认 
	private int type;//表格类型  0：标签  1：问题名称  2 问题选项
	private String tag;//标签名称
	private String name;//问题名称
	private long id;//问题ID
	private int qusetiontype;//问题类型 0（判断）、1（单选） 2（多选） 3（填空数字）4(自填) 
	private List<?> list;//问题选项
	private List<?> values;//选项值
	public Td(int rowspan,int colspan,int align,int type,String tag, String name,long id,int qusetiontype,List<?> list,List<?> values) {
		this.rowspan=rowspan;
		this.colspan=colspan;
		this.align=align;
		this.type = type;
		this.tag=tag;
		this.name=name;
		this.setId(id);
		this.qusetiontype=qusetiontype;
		this.list=list;
		this.values=values;
				
	}


	public int getRowspan() {
		return rowspan;
	}

	public void setRowspan(int rowspan) {
		this.rowspan = rowspan;
	}

	public int getColspan() {
		return colspan;
	}

	public void setColspan(int colspan) {
		this.colspan = colspan;
	}

	public int getAlign() {
		return align;
	}

	public void setAlign(int align) {
		this.align = align;
	}

	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getQusetiontype() {
		return qusetiontype;
	}
	public void setQusetiontype(int qusetiontype) {
		this.qusetiontype = qusetiontype;
	}
	public List<?> getList() {
		return list;
	}
	public void setList(List<?> list) {
		this.list = list;
	}




	public List<?> getValues() {
		return values;
	}


	public void setValues(List<?> values) {
		this.values = values;
	}


	public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}
	
}
